
<%--
  Created by IntelliJ IDEA.
  User: h'p
  Date: 2024/4/2
  Time: 19:10
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" isELIgnored="false" %>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title>无标题文档</title>
    <link href="resource/css/style.css" rel="stylesheet" type="text/css" />
    <script language="JavaScript" src="resource/js/jquery.js"></script>

    <script type="text/javascript">
        $(function(){
            //导航切换
            $(".menuson li").click(function(){
                $(".menuson li.active").removeClass("active")
                $(this).addClass("active");
            });

            $('.title').click(function(){
                var $ul = $(this).next('ul');
                $('dd').find('ul').slideUp();
                if($ul.is(':visible')){
                    $(this).next('ul').slideUp();
                }else{
                    $(this).next('ul').slideDown();
                }
            });
        })
    </script>


</head>

<body style="background:#f0f9fd;">
<div class="lefttop"><span></span>${dept.dname}</div>

<dl class="leftmenu">

    <dd>
        <div class="title">
            <span><img src="resource/images/leftico01.png" /></span>部门员工
        </div>
        <ul class="menuson">
            <li class="active"><cite></cite><a href="/getStaff" target="rightFrame">查看员工</a><i></i></li>
            <li><cite></cite><a href="getAdmin.jsp" target="rightFrame">添加员工</a><i></i></li>
        </ul>
    </dd>

    <dd>
        <div class="title">
            <span><img src="resource/images/leftico02.png" /><a target="rightFrame"></a></span>个人请假
        </div>
        <ul class="menuson">
            <li class="active"><cite></cite><a href="/addLeave.jsp" target="rightFrame">请假申请</a><i></i></li>
            <li><cite></cite><a href="getUser.jsp" target="rightFrame">请假记录</a><i></i></li>
        </ul>
    </dd>


    <dd><div class="title"><span><img src="resource/images/leftico03.png" /></span>员工请假</div>
        <ul class="menuson">
            <li><cite></cite><a href="addGoodsType.jsp" target="rightFrame">请假审批</a><i></i></li>
            <li><cite></cite><a href="GoodsTypeServlet?method=getGoodsTypes" target="rightFrame">请假列表</a><i></i></li>
        </ul>
    </dd>


<%--    <dd><div class="title"><span><img src="resource/images/leftico04.png" /></span>商品管理</div>
        <ul class="menuson">
            <li><cite></cite><a href="addGoods.jsp" target="rightFrame">商品上架</a><i></i></li>
            <li><cite></cite><a href="GoodsServlet?method=getGoods" target="rightFrame">商品列表</a><i></i></li>
        </ul>
    </dd>

    <dd><div class="title"><span><img src="resource/images/leftico04.png" /></span>订单管理</div>
        <ul class="menuson">
            <li><cite></cite><a href="OrderServlet?method=getOrdersListAdmin" target="rightFrame">订单列表</a><i></i></li>
        </ul>
    </dd>

    <dd><div class="title"><span><img src="resource/images/leftico04.png" /></span>系统管理</div>
        <ul class="menuson">
            <li><cite></cite><a href="#" target="rightFrame">修改密码</a><i></i></li>
        </ul>
    </dd>--%>

</dl>

</body>
</html>